package com.bw.database.db

import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RoomDatabase
import com.bw.database.dao.TestInfoDao
import com.bw.database.entity.TestEntity

/**
 *版本升级是对于二次安装的时候进行数据库升级
 */
@Database(
    entities = [TestEntity::class],
    exportSchema = false,
    version = 1
)
abstract class AppDataBase : RoomDatabase() {
    abstract fun getTestInfoDao(): TestInfoDao

}